#ifndef MYCONTROL_H
#define MYCONTROL_H

#include <QString>

#include "model/basemodel.h"
#include "model/usermodel.h"
#include "model/stockrecordmodel.h"
#include "model/inoutstockmodel.h"

class MyControl
{
public:
    static MyControl* db;
    static MyControl* getInstance();//new
    BaseModel* Creatmodel(QString tableName);
private:
    MyControl();
    BaseModel *model;
};

#endif // MYCONTROL_H
